package com.yuven.baselib.network;

import com.yuven.baselib.utils.NetHelper;

/**
 * 
 *
 * @author :        Yuven
 * @date :          2021/2/24 9:53 AM
 * @desc :
 */
public class DefaultRetrofitConfiguration implements RetrofitConfiguration {
    @Override
    public long getConnectTimeout() {
        return 15 * 1000;
    }

    @Override
    public boolean isNetworkAvailable() {
        return NetHelper.isNetAvailable();
    }
}
